/* eslint-disable */
/**报表返回操作区域扩展按钮
 */
const reportGetBtnFuns = {
  //结算汇总报表
  settlementSumSp(that) {
    let btnList = [{
      key: 'printsp',
      text: '打印(按供应商)'
    }]
    return btnList;
  },
  //科室病人消耗明细报表
  getDeptOprtUseDtl(that) {
    let btnList = [{
        key: 'printUser',
        text: '打印(按科室病人)'
      },
      {
        key: 'printSp',
        text: '打印(供应商)'
      }
    ]
    //隐藏通用打印按钮
    that.showPrintCommon = false
    return btnList;
  },

  //科室病人消耗汇总报表
  getDeptOprtUseSumDtl(that) {
    let btnList = [{
      key: 'printSp',
      text: '打印(供应商)'
    }
    ]
    //隐藏通用打印按钮
    that.showPrintCommon = false
    return btnList;
  },
  //科室病人消耗明细报表
  getDeptBillHrp(that) {
    let btnList = [{
      key: 'printUser',
      text: '打印'
    },
      {
        key: 'printCheck',
        text: '打印选中'
      }
    ]
    //隐藏通用打印按钮
    that.showPrintCommon = false
    return btnList;
  },
  //科室成本明细报表
  getDeptBillbyDept(that) {
    let btnList = [{
        key: 'printDept',
        text: '打印(科室)'
      },
      {
        key: 'printSp',
        text: '打印(供应商)'
      }
    ]
    //隐藏通用打印按钮
    that.showPrintCommon = false
    return btnList;
  },
  //结算单明细
  getSettlementDtl(that) {
    let btnList = [

      {
        key: 'printSp',
        text: '打印(供应商)'
      }
    ]
    //隐藏通用打印按钮
    that.showPrintCommon = false
    return btnList;
  },
  //开立科室结算汇总
  getSettlementSumDeptCategory(that) {
    let btnList = [{
      key: 'printDtl',
      text: '打印'}
    ]
    //隐藏通用打印按钮
    that.showPrintCommon = false

    //导出底部签名栏
    that.exportFooterSignArr  = [
      { text: 'SPD项目负责人', col: 8},
      { text: '药械仓库保管员', col: 8},
      {text: '制表人', col: 8, value: that.utils.getCurrentUser().name},
    ]
    return btnList;
  },
  //库存数量差异-按耗材
  getStockDiffMatr(that) {
    let btnList = [{
      key: 'stockCheck',
      text: '库存盘点'}
    ]
    return btnList;
  },
}

export default reportGetBtnFuns
